<template>
    <el-pagination background layout="prev, pager, next"
                   :page-size="25" :total="total" @current-change="handleCurrentChange"> </el-pagination>
</template>

<script>
export default {
  name: "SubmitRecordPagination",
  props: {
    total: Number,
    currentPage: Number
  },
  methods: {
    handleCurrentChange(val) {
      this.$emit('pageChange', val);
    }
  }
}
</script>

<style scoped>

</style>